import request from '@/utils/request'

// 查询跟踪表列表
export function listStudenttracklog(query) {
  return request({
    url: '/student/studenttracklog/list',
    method: 'get',
    params: query
  })
}

// 查询跟踪表详细
export function getStudenttracklog(id) {
  return request({
    url: '/student/studenttracklog/' + id,
    method: 'get'
  })
}

// 新增跟踪表
export function addStudenttracklog(data) {
  return request({
    url: '/student/studenttracklog',
    method: 'post',
    data: data
  })
}

// 查询学生跟踪表详细
export function getStudenttrackstuSn(id) {
  return request({
    url: '/student/studenttracklog/stuSn/' + id,
    method: 'get'
  })
}

// 添加跟踪表
export function saveStudenttrack(data) {
  return request({
    url: '/student/studenttracklog/save',
    method: 'post',
    data: data
  })
}

// 修改跟踪表
export function updateStudenttracklog(data) {
  return request({
    url: '/student/studenttracklog',
    method: 'put',
    data: data
  })
}

// 删除跟踪表
export function delStudenttracklog(id) {
  return request({
    url: '/student/studenttracklog/' + id,
    method: 'delete'
  })
}
